package com.employee.mapper;

import com.employee.pojo.dto.StarffScheduleDTO;
import com.employee.pojo.vo.StaffScheduleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StaffScheduleMapper {
    List<StaffScheduleVo> getStaffSchedule();

    void updateStaffSchedule(StarffScheduleDTO starffScheduleDTO);

    List<StaffScheduleVo> selectSchedule(@Param("type") String type, @Param("username")String username, @Param("deptName")String deptName);
}
